/* export default async function Page() {
  const res = await fetch(`${process.env.NEXT_BASE_URL}posts`)
  const res2 = await fetch(`${process.env.NEXT_BASE_URL}posts`)
  const res3 = await fetch(`${process.env.NEXT_BASE_URL}posts`)
  // 只会发一次请求 页面重复渲染了多次的话 只会发一次请求
  const data = await res.json()
  return (
    <div>
      hello page 09
      <p>{JSON.stringify(data)}</p>
    </div>
  )
} */

/* export default async function Page() {
  const res = await fetch(`${process.env.NEXT_BASE_URL}posts`, { method: 'POST' })
  const res2 = await fetch(`${process.env.NEXT_BASE_URL}posts`, { method: 'POST' })
  const res3 = await fetch(`${process.env.NEXT_BASE_URL}posts`, { method: 'POST' })
  // post 不会优化
  const data = await res.json()
  return (
    <div>
      hello page 09
      <p>{JSON.stringify(data)}</p>
    </div>
  )
} */

export default async function Page() {
  return <div>hello page 09</div>;
}
